#version 130

uniform sampler2D tex;
uniform int t;

in vec2 fragmentTexCoord;

out vec4 fragColor;

void main(void){
	vec2 coord = fragmentTexCoord;
	coord.y = coord.y + sin(200 * coord.x - 200 * t) * 0.01;
	fragColor = texture(tex, coord);
}

